﻿<%@ Assembly Name="UI.Web.MVC.Moduls.News" %>
<%@ Import Namespace="System.Web.Mvc" %>
<%@ Import Namespace="System.Web.Mvc.Ajax" %>
<%@ Import Namespace="MvcContrib.UI.Grid" %>
<%@ Import Namespace="SailHero.Soft.FrameWork.Models" %>
<%@ Import Namespace="UI.Web.Utility.MvcPager" %>

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<PagedList<Sys_UserRole>>" %>



<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <div id="dvOrders" style="height: 100%; position: relative; margin-left: auto; margin-right: auto;">
        <%
       = Html.Grid(((IEnumerable<Sys_UserRole>)ViewBag.ListData)).AutoGenerateColumns()
        %>
        <div class="fanye" style="position: relative;">
            <%=Html.AjaxPager(Model, new PagerOptions() { CssClass = "mvcPager", PageIndexParameterName = "pageIndex", ShowMorePagerItems = false, AlwaysShowFirstLastPageNumber = true, ShowPageIndexBox = true, PageIndexBoxWrapperFormatString = "页{0}" }, new AjaxOptions() { UpdateTargetId = "dvOrders" })%>
        </div>
    </div>
</asp:Content>
